Garbage Collecting the Grid: A Complete DGC for Activities

نویسندگان

  • Denis Caromel
  • Guillaume Chazarain
  • Ludovic Henrio
چکیده

Grids are becoming more and more dynamic, running parallel applications on large scale and heterogeneous resources. Explicitly stopping a whole distributed application is becoming increasingly difficult. In that context, there is a strong need to free resources a soon as they become useless, leading to automatic termination, using distributed garbage collecting techniques. We propose in this paper a new distributed garbage collector for active objects taking into account cycles but with a complexity similar to the distributed garbage collector of Java/RMI. The algorithm is based on a different approach to collect acyclic and cyclic garbage. On one hand, acyclic garbage is collected by knowing the immediate referencers of an active object and detecting the lack of these referencers. This behavior with respect to acyclic garbage is common to the distributed garbage collector of RMI. On the other hand, cyclic garbage is detected by considering the recursive closure of all the referencers of an active object and finding cycles of active objects waiting for requests. These cycles are found by letting idle active objects make a consensus on a common final activity. The algorithm is fully distributed and has been implemented with no modifications to the local garbage collector. Benchmarks have shown the scalability of the algorithm in a

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Complete distributed garbage collection using DGC-consistent cuts and .NET AOP-support

The memory management of distributed objects, when done manually, is an error-prone task. It leads to memory leaks and dangling references, causing applications to fail. Avoiding such errors requires automatic memory management, called distributed garbage collection (DGC). Current DGC solutions are either not safe, not complete or not portable to widely used platforms such as .NET. As a matter ...

متن کامل

Extending .NET Remoting with Distributed Garbage Collection

The memory management of distributed objects, when done manually, is an error-prone task. It leads to memory leaks and dangling references causing applications to fail. Avoiding such errors requires automatic memory management, named distributed garbage collection (DGC). Current DGC solutions are either not safe, not complete or not portable to widely used platforms such as .NET. As a matter of...

متن کامل

Recent Advances in Distributed Garbage Collection

1 Why Distributed Garbage Collection Dynamically-allocated memory must eventually be reclaimed. But manual reclamation is error-prone, and if an object is de-allocated prematurely, a program that later follows a pointer to it might behave incorrectly. Instead, garbage collection (GC) automatically reclaims objects that can no longer be reached by any path of pointers. In a distributed system, a...

متن کامل

Cooperating distributed garbage collectors for clusters and beyond

The contribution of this paper is twofold. First a distributed garbage collector (DGC) is presented that is optimized for remote method invocation in reliable networks, such as current clusters of workstations. Since the algorithm does not require extra acknowledgement messages, even while collecting, it does not increase the latency of a remote call. Then it is discussed how several DGCs can c...

متن کامل

Towards Distributed Garbage Collection in Distributed Real-Time Java

Java’s RMI (Remote Method Invocation) offers many facilities useful for a distributed application programmer. One of them is distributed garbage collection (DGC) that removes unreachable remote objects. Unfortunately, from the point of view of distributed real-time Java applications, DGC is underspecified (i.e., it may introduce unwanted interference on real-time remote invocations). Some resea...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007